from django.conf.urls import url

from apps.users import views

urlpatterns = [
    url(r'^register/$', views.RegisterView.as_view(),name='register'),
    url(r'^login/$', views.LoginView.as_view(),name='login'),
    url(r'^logout/$', views.LogoutView.as_view(),name='logout'),
    url(r'^usercenter/$', views.UserCenterView.as_view(),name='usercenter'),
    url(r'^changepassword/$', views.ChangePasswordView.as_view(),name='changepassword'),
    url(r'^my_order/(?P<page_num>\d+)/$', views.MyOrderView.as_view(),name='my_order'),
]